#include "stdafx.h"
#include ".\atomictype.h"

Token::pointer AtomicType::normalized() const{
	  return this->clone();
	}
Token::pointer AtomicType::applyArgument(Token::const_reference)  const{
	return this->clone();
	}
Token::pointer AtomicType::clone() const{
	return new AtomicType(*this);
	}
Token::pointer AtomicType::replaceAll(Token::const_reference To1, Token::const_reference To2) const{
	if(this->operator ==(To1))
		return To2.clone();
	return this->clone();
}

AtomicType::AtomicType(const string& str):Type(str){}
AtomicType::AtomicType(const AtomicType& Ty):Type(Ty){}
AtomicType::~AtomicType(void){}

